<?php

namespace App;

use Illuminate\Database\Eloquent\Model;

class Msg extends Model
{
    //更改表名
    protected $table = 'msgs';
    //更改主键
    protected $primaryKey = 'id';
   	//设置model的timestamps属性
   	//public $timestamps = false;
}
